descSupplied

fun Any?.descSupplied(fallbackSupplier: Supplier<String>): MutableText

Describes anything (In enchantment description style, or for tooltips, for example). If the thing is Translatable, it will use the built-in description, otherwise it will use the fallback literally

Receiver

Anything, null or not. Translatable will provide its description.

Return

MutableText description based on the receivers description translation, or the fallback

Author

fzzyhmstrs

Since

0.4.2

Parameters

fallbackSupplier

Supplier - the fallback text supplier, used literally, not as a translation key